/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.composition.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.assignment2.composition.model.AltPidgeon;
import za.ac.cput.assignment2.composition.model.AltSnake;

/**
 *
 * @author Matthew
 */
@Configurable
public class AltAnimalConf {
    
    @Bean (name="newSnake")
    public AltSnake snake(){
        return new AltSnake();
    }
    
    @Bean (name="newBird")
    public AltPidgeon bird(){
        return new AltPidgeon();
    }
    
}
